//
//  YCBaseProtocol.h
//  Youyouhui
//
//  Created by 林购进 on 16/3/17.
//  Copyright © 2016年 UULian. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "MBProgressHUD.h"
typedef void (^ AlertShowHandle) ();
@protocol YCBaseViewControllerProtocol <NSObject>
@property (nonatomic, strong) MBProgressHUD *hud;
@required
- (void)showHud;
- (void)hideHud;
- (void)showAlertWithTitle:(NSString *)title message:(NSString *)message;
- (void)showAlertWithTitle:(NSString *)title message:(NSString *)message handle:(AlertShowHandle)handle;
- (void)showAlertWithTitle:(NSString *)title message:(NSString *)message confirmHandle:(AlertShowHandle)confirmHandle cancleHandle:(AlertShowHandle)cancleHandle;
- (void)showToastWithTitle:(NSString *)title;
@end
